package cn.kimming.shirodemo.common.entity;

import lombok.Getter;

@Getter
public class Result {
    private boolean flag;
    private String msg;
    private Object data;

    public Result(boolean flag, String msg) {
        this.flag = flag;
        this.msg = msg;
    }

    public Result(boolean flag, String msg, Object data) {
        this.flag = flag;
        this.msg = msg;
        this.data = data;
    }
}
